#include"Rectangle.h"
#include <conio.h>
Rectangle duplicate (Rectangle param)
{
	Rectangle res;
    res.width=param.width*2;
	res.height=param.height*2;
	return res;
}
int main()
{
	Rectangle foo;
	Rectangle bar (2,3);
	foo=duplicate (bar);
	cout<<foo.area()<<"\n";
	_getch();
	return 0;
}